package cn.yunhe.util;

public class PageUtil {
    public static final int PAGE_SIZE = 3;

    public static int getTotalPages(int totalNum) {
        return totalNum % PAGE_SIZE == 0 ? totalNum / PAGE_SIZE : totalNum / PAGE_SIZE + 1;
    }

}
